<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>IDA SDK: srcinfo_provider_t Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">IDA SDK
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="files.html"><span>Header&#160;Files</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classsrcinfo__provider__t-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">srcinfo_provider_t Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span><div class="ingroups"><a class="el" href="group__dbg__funcs.html">Debugger functions</a> &raquo; <a class="el" href="group__dbg__funcs__srcinfo.html">Source information providers</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Describes the mechanism used to retrieve source file information. </p>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a28907a45ac19cf26117ee999fd9e206b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a28907a45ac19cf26117ee999fd9e206b"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsrcinfo__provider__t.html#a28907a45ac19cf26117ee999fd9e206b">cb</a></td></tr>
<tr class="memdesc:a28907a45ac19cf26117ee999fd9e206b"><td class="mdescLeft">&#160;</td><td class="mdescRight">size of this class <br /></td></tr>
<tr class="separator:a28907a45ac19cf26117ee999fd9e206b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a18036604458140fd590c4a8cbd954929"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a18036604458140fd590c4a8cbd954929"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsrcinfo__provider__t.html#a18036604458140fd590c4a8cbd954929">flags</a></td></tr>
<tr class="memdesc:a18036604458140fd590c4a8cbd954929"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="group___s_p_f__.html">Source info provider property bits</a> <br /></td></tr>
<tr class="separator:a18036604458140fd590c4a8cbd954929"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a51b05c243028e2773e5b7d2f3ecbf648"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a51b05c243028e2773e5b7d2f3ecbf648"></a>
const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsrcinfo__provider__t.html#a51b05c243028e2773e5b7d2f3ecbf648">name</a></td></tr>
<tr class="memdesc:a51b05c243028e2773e5b7d2f3ecbf648"><td class="mdescLeft">&#160;</td><td class="mdescRight">internal (unique) name of srcinfo provider <br /></td></tr>
<tr class="separator:a51b05c243028e2773e5b7d2f3ecbf648"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a875ce99f130d021b48a07c3e85e28631"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a875ce99f130d021b48a07c3e85e28631"></a>
const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsrcinfo__provider__t.html#a875ce99f130d021b48a07c3e85e28631">display_name</a></td></tr>
<tr class="memdesc:a875ce99f130d021b48a07c3e85e28631"><td class="mdescLeft">&#160;</td><td class="mdescRight">external (displayable) name of srcinfo provider <br /></td></tr>
<tr class="separator:a875ce99f130d021b48a07c3e85e28631"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:abbb054b5171cd933a64704030ca871f1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abbb054b5171cd933a64704030ca871f1"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>srcinfo_provider_t</b> (const char *_name, const char *_display_name, int _flags=0)</td></tr>
<tr class="separator:abbb054b5171cd933a64704030ca871f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1a8c252ec7ef2d6ccd212462adf1ca9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af1a8c252ec7ef2d6ccd212462adf1ca9"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsrcinfo__provider__t.html#af1a8c252ec7ef2d6ccd212462adf1ca9">is_decompiler</a> (void) const </td></tr>
<tr class="memdesc:af1a8c252ec7ef2d6ccd212462adf1ca9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Is the source info provider a decompiler? <br /></td></tr>
<tr class="separator:af1a8c252ec7ef2d6ccd212462adf1ca9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa356334d1b66bf23eec12a5dba6e14e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaa356334d1b66bf23eec12a5dba6e14e"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsrcinfo__provider__t.html#aaa356334d1b66bf23eec12a5dba6e14e">is_enabled</a> (void) const </td></tr>
<tr class="memdesc:aaa356334d1b66bf23eec12a5dba6e14e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Has the provider been enabled by the user? <br /></td></tr>
<tr class="separator:aaa356334d1b66bf23eec12a5dba6e14e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab5951f3e50a21976e4737c176a78db8b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab5951f3e50a21976e4737c176a78db8b"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsrcinfo__provider__t.html#ab5951f3e50a21976e4737c176a78db8b">is_active</a> (void) const </td></tr>
<tr class="memdesc:ab5951f3e50a21976e4737c176a78db8b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Is the provider willing to work with the current idb? <br /></td></tr>
<tr class="separator:ab5951f3e50a21976e4737c176a78db8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab40a6a7b7769e6903cf7d5716f3d1296"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab40a6a7b7769e6903cf7d5716f3d1296"></a>
<a class="el" href="pro_8h.html#adde6aaee8457bee49c2a92621fe22b79">uint8</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsrcinfo__provider__t.html#ab40a6a7b7769e6903cf7d5716f3d1296">get_version</a> () const </td></tr>
<tr class="memdesc:ab40a6a7b7769e6903cf7d5716f3d1296"><td class="mdescLeft">&#160;</td><td class="mdescRight">See <a class="el" href="group___s_p_f__.html#ga7071d9eb5ab27b35f1ccb9a2276b6a26" title="Version mask, in the flags. ">SPF_VERSION_MASK</a>. <br /></td></tr>
<tr class="separator:ab40a6a7b7769e6903cf7d5716f3d1296"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3354025a88b142b003a50353dbe7d8f9"><td class="memItemLeft" align="right" valign="top">virtual bool <a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsrcinfo__provider__t.html#a3354025a88b142b003a50353dbe7d8f9">enable_provider</a> (bool enable)=0</td></tr>
<tr class="memdesc:a3354025a88b142b003a50353dbe7d8f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable or disable the provider.  <a href="#a3354025a88b142b003a50353dbe7d8f9">More...</a><br /></td></tr>
<tr class="separator:a3354025a88b142b003a50353dbe7d8f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd5d0a33c2439d23492fde470abefbf7"><td class="memItemLeft" align="right" valign="top">virtual const char *<a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsrcinfo__provider__t.html#acd5d0a33c2439d23492fde470abefbf7">set_options</a> (const char *keyword, int value_type, const void *value)=0</td></tr>
<tr class="memdesc:acd5d0a33c2439d23492fde470abefbf7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configure srcinfo provider.  <a href="#acd5d0a33c2439d23492fde470abefbf7">More...</a><br /></td></tr>
<tr class="separator:acd5d0a33c2439d23492fde470abefbf7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abbe93da4b609d331ffd8fcfb9ebff1aa"><td class="memItemLeft" align="right" valign="top">virtual void <a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsrcinfo__provider__t.html#abbe93da4b609d331ffd8fcfb9ebff1aa">add_module</a> (const char *path, <a class="el" href="pro_8h.html#a7b0aeaed04e477c02cf8ea3452002d1a">ea_t</a> base, <a class="el" href="pro_8h.html#adbc570541d9f9a0c4489f9f1fe5f5699">asize_t</a> size)=0</td></tr>
<tr class="memdesc:abbe93da4b609d331ffd8fcfb9ebff1aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Inform the provider that a module got loaded.  <a href="#abbe93da4b609d331ffd8fcfb9ebff1aa">More...</a><br /></td></tr>
<tr class="separator:abbe93da4b609d331ffd8fcfb9ebff1aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9597db20f835f002481bb8b376951d3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa9597db20f835f002481bb8b376951d3"></a>
virtual void <a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsrcinfo__provider__t.html#aa9597db20f835f002481bb8b376951d3">del_module</a> (<a class="el" href="pro_8h.html#a7b0aeaed04e477c02cf8ea3452002d1a">ea_t</a> base)=0</td></tr>
<tr class="memdesc:aa9597db20f835f002481bb8b376951d3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Inform the provider that a module got unloaded. <br /></td></tr>
<tr class="separator:aa9597db20f835f002481bb8b376951d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac01147482acfe62e42daaa292e790134"><td class="memItemLeft" align="right" valign="top">virtual void <a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsrcinfo__provider__t.html#ac01147482acfe62e42daaa292e790134">get_ready</a> (void)=0</td></tr>
<tr class="memdesc:ac01147482acfe62e42daaa292e790134"><td class="mdescLeft">&#160;</td><td class="mdescRight">Inform the provider that we will request for information now.  <a href="#ac01147482acfe62e42daaa292e790134">More...</a><br /></td></tr>
<tr class="separator:ac01147482acfe62e42daaa292e790134"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5bfb5c37c50a2334474299a733690a88"><td class="memItemLeft" align="right" valign="top">virtual int <a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsrcinfo__provider__t.html#a5bfb5c37c50a2334474299a733690a88">get_change_flags</a> (void)=0</td></tr>
<tr class="memdesc:a5bfb5c37c50a2334474299a733690a88"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ask the provider if the source information has changed and the screen should be refreshed.  <a href="#a5bfb5c37c50a2334474299a733690a88">More...</a><br /></td></tr>
<tr class="separator:a5bfb5c37c50a2334474299a733690a88"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8696ab4b62686d49685686c77e6f899"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="group__dbg__funcs__srcinfo.html#gafdf5f52760e4ac48addc8b82986f6a8e">source_item_iterator</a> <a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsrcinfo__provider__t.html#af8696ab4b62686d49685686c77e6f899">find_source_items</a> (<a class="el" href="pro_8h.html#a7b0aeaed04e477c02cf8ea3452002d1a">ea_t</a> ea, <a class="el" href="pro_8h.html#adbc570541d9f9a0c4489f9f1fe5f5699">asize_t</a> size, <a class="el" href="group__dbg__funcs__srcinfo.html#gadd1590e46b67c1fbc2820300b894596f">src_item_kind_t</a> level, bool may_decompile)=0</td></tr>
<tr class="memdesc:af8696ab4b62686d49685686c77e6f899"><td class="mdescLeft">&#160;</td><td class="mdescRight">Locate source item by address.  <a href="#af8696ab4b62686d49685686c77e6f899">More...</a><br /></td></tr>
<tr class="separator:af8696ab4b62686d49685686c77e6f899"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a412e8a87cdbd66a6d597acad57002f34"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="group__dbg__funcs__srcinfo.html#gafdf5f52760e4ac48addc8b82986f6a8e">source_item_iterator</a> <a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsrcinfo__provider__t.html#a412e8a87cdbd66a6d597acad57002f34">find_source_items</a> (<a class="el" href="classsource__file__t.html">source_file_t</a> *sf, int lnnum, int colnum=0)=0</td></tr>
<tr class="memdesc:a412e8a87cdbd66a6d597acad57002f34"><td class="mdescLeft">&#160;</td><td class="mdescRight">Locate source item by a position in a source file.  <a href="#a412e8a87cdbd66a6d597acad57002f34">More...</a><br /></td></tr>
<tr class="separator:a412e8a87cdbd66a6d597acad57002f34"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6321262474c2349188f272a6072fbf42"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="group__dbg__funcs__srcinfo.html#ga3a88865b1c3ef359dea9675b081896ab">source_file_iterator</a> <a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsrcinfo__provider__t.html#a6321262474c2349188f272a6072fbf42">create_file_iterator</a> (const char *filename=NULL)=0</td></tr>
<tr class="memdesc:a6321262474c2349188f272a6072fbf42"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create iterators to enumerate files.  <a href="#a6321262474c2349188f272a6072fbf42">More...</a><br /></td></tr>
<tr class="separator:a6321262474c2349188f272a6072fbf42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a714a273ef7920a883d3dccb6e5fcd166"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a714a273ef7920a883d3dccb6e5fcd166"></a>
virtual <a class="el" href="group__dbg__funcs__srcinfo.html#gafdf5f52760e4ac48addc8b82986f6a8e">source_item_iterator</a> <a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsrcinfo__provider__t.html#a714a273ef7920a883d3dccb6e5fcd166">create_item_iterator</a> (const <a class="el" href="classsource__file__t.html">source_file_t</a> *sf)=0</td></tr>
<tr class="memdesc:a714a273ef7920a883d3dccb6e5fcd166"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create iterators to enumerate items. <br /></td></tr>
<tr class="separator:a714a273ef7920a883d3dccb6e5fcd166"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aebee9122a246be20c398f304bcccc848"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aebee9122a246be20c398f304bcccc848"></a>
virtual bool <a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsrcinfo__provider__t.html#aebee9122a246be20c398f304bcccc848">apply_module_info</a> (const char *)</td></tr>
<tr class="memdesc:aebee9122a246be20c398f304bcccc848"><td class="mdescLeft">&#160;</td><td class="mdescRight">Apply the debug information (types, functions, globals) from the module whose path is 'path', to the IDB. <br /></td></tr>
<tr class="separator:aebee9122a246be20c398f304bcccc848"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1752789cc7b998f111898e41d2b5fd3d"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="group__dbg__funcs__srcinfo.html#ga3c73aaf1eda8ff72a5a78ea13840afa5">source_item_ptr</a> <a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsrcinfo__provider__t.html#a1752789cc7b998f111898e41d2b5fd3d">find_static_item</a> (const char *<a class="el" href="classsrcinfo__provider__t.html#a51b05c243028e2773e5b7d2f3ecbf648">name</a>, <a class="el" href="pro_8h.html#a7b0aeaed04e477c02cf8ea3452002d1a">ea_t</a> ea)=0</td></tr>
<tr class="memdesc:a1752789cc7b998f111898e41d2b5fd3d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Locate a global variable by its name.  <a href="#a1752789cc7b998f111898e41d2b5fd3d">More...</a><br /></td></tr>
<tr class="separator:a1752789cc7b998f111898e41d2b5fd3d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a3354025a88b142b003a50353dbe7d8f9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool <a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a> srcinfo_provider_t::enable_provider </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>enable</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Enable or disable the provider. </p>
<p>If the provider fails to initialize, it returns false, otherwise true </p>

</div>
</div>
<a class="anchor" id="acd5d0a33c2439d23492fde470abefbf7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual const char* <a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a> srcinfo_provider_t::set_options </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>keyword</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>value_type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const void *&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Configure srcinfo provider. </p>
<p>See the description of ::set_options_t </p>

</div>
</div>
<a class="anchor" id="abbe93da4b609d331ffd8fcfb9ebff1aa"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a> srcinfo_provider_t::add_module </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>path</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pro_8h.html#a7b0aeaed04e477c02cf8ea3452002d1a">ea_t</a>&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pro_8h.html#adbc570541d9f9a0c4489f9f1fe5f5699">asize_t</a>&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Inform the provider that a module got loaded. </p>
<p>The provider is not required to read the module information immediately; it may postpone it until really required. </p>

</div>
</div>
<a class="anchor" id="ac01147482acfe62e42daaa292e790134"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a> srcinfo_provider_t::get_ready </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Inform the provider that we will request for information now. </p>
<p>This function must be called before calling all functions below. probably it will be called when the process gets suspended. </p>

</div>
</div>
<a class="anchor" id="a5bfb5c37c50a2334474299a733690a88"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int <a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a> srcinfo_provider_t::get_change_flags </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Ask the provider if the source information has changed and the screen should be refreshed. </p>
<p>UI will call this function periodically (when idle). if it returns a flag value other than <a class="el" href="group___s_p_c_h__.html#ga446499ec545451329ebb9ba5f050d443" title="nothing has changed ">SPCH_NONE</a>, then the source information must be refreshed. </p>

</div>
</div>
<a class="anchor" id="af8696ab4b62686d49685686c77e6f899"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="group__dbg__funcs__srcinfo.html#gafdf5f52760e4ac48addc8b82986f6a8e">source_item_iterator</a> <a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a> srcinfo_provider_t::find_source_items </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pro_8h.html#a7b0aeaed04e477c02cf8ea3452002d1a">ea_t</a>&#160;</td>
          <td class="paramname"><em>ea</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pro_8h.html#adbc570541d9f9a0c4489f9f1fe5f5699">asize_t</a>&#160;</td>
          <td class="paramname"><em>size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__dbg__funcs__srcinfo.html#gadd1590e46b67c1fbc2820300b894596f">src_item_kind_t</a>&#160;</td>
          <td class="paramname"><em>level</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>may_decompile</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Locate source item by address. </p>
<p>The kernel will inquire all registered providers and use the best reply. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ea</td><td>linear address </td></tr>
    <tr><td class="paramname">size</td><td>size of the item </td></tr>
    <tr><td class="paramname">level</td><td>the desired item level:<ul>
<li><a class="el" href="group__dbg__funcs__srcinfo.html#ggadd1590e46b67c1fbc2820300b894596faaeceec779eabbd5638ff5ef4cf2e7b13" title="a statement (if/while/for...) ">SRCIT_STMT</a>: a statement</li>
<li><a class="el" href="group__dbg__funcs__srcinfo.html#ggadd1590e46b67c1fbc2820300b894596fa41e645c3100c4427db006baee797bbb7" title="an expression (a+b*c) ">SRCIT_EXPR</a>: an expression</li>
<li><a class="el" href="group__dbg__funcs__srcinfo.html#ggadd1590e46b67c1fbc2820300b894596fa92ff4a0d28f152d28c4fa11290b5f70e" title="function ">SRCIT_FUNC</a>: a global code item</li>
<li>SRCIT_xxxVAR: a global data item (the exact type is not checked) </li>
</ul>
</td></tr>
    <tr><td class="paramname">may_decompile</td><td>meaningful only for the decompiler. if set to false and the function at 'ea' has not been decompiled yet, fail. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a412e8a87cdbd66a6d597acad57002f34"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="group__dbg__funcs__srcinfo.html#gafdf5f52760e4ac48addc8b82986f6a8e">source_item_iterator</a> <a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a> srcinfo_provider_t::find_source_items </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsource__file__t.html">source_file_t</a> *&#160;</td>
          <td class="paramname"><em>sf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>lnnum</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>colnum</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Locate source item by a position in a source file. </p>
<p>if colnum == 0, return the statement that starts at the specified line. if lnnum == 0, return information about all lines (colnum is ignored in this case) </p>

</div>
</div>
<a class="anchor" id="a6321262474c2349188f272a6072fbf42"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="group__dbg__funcs__srcinfo.html#ga3a88865b1c3ef359dea9675b081896ab">source_file_iterator</a> <a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a> srcinfo_provider_t::create_file_iterator </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>filename</em> = <code>NULL</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Create iterators to enumerate files. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">filename</td><td>name of the source file to enumerate </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a1752789cc7b998f111898e41d2b5fd3d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="group__dbg__funcs__srcinfo.html#ga3c73aaf1eda8ff72a5a78ea13840afa5">source_item_ptr</a> <a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a> srcinfo_provider_t::find_static_item </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pro_8h.html#a7b0aeaed04e477c02cf8ea3452002d1a">ea_t</a>&#160;</td>
          <td class="paramname"><em>ea</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Locate a global variable by its name. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>The variable name </td></tr>
    <tr><td class="paramname">ea</td><td>The current address </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the source item, or NULL </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="dbg_8hpp.html">dbg.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
